package com.luosan.portalservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.luosan.portalservice.mapper.SubCardMapper;
import com.luosan.portalservice.pojo.SubCard;
import com.luosan.portalservice.service.SubCardService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


import java.util.List;

@Slf4j
@Service
public class SubCardServiceImpl extends ServiceImpl<SubCardMapper, SubCard> implements SubCardService {
    @Override
    public List<SubCard> getByMainCardId(Integer mainCardId) {
        return baseMapper.selectByMainCardId(mainCardId);
    }
}
